home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_300
/
361_01
/
filexist.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-09-18
|
480b
|
24 lines
/* FileExist.c --> Taken from CUG-273 & Turbo-C Bible.
*
* Author: J.Ekwall 13 September 91
*
* Copyrighted to the Public Domain. Unlimited Distribution Authorized.
*
* User Assumes All Risks/Liabilities.
*
* Last Update: 13 September 91/EK
*/
#include <dir.h>
#include <stdek.h>
#include <gadgets.h>
int FileExists(char *FileName)
{
struct ffblk fb;
return !findfirst(FileName, &fb, 0);
}